package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.BuyCartBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IBuyCartMapper extends BaseMapper<BuyCartBean> {
    public List<BuyCartBean> findBuyCartByUserId(Integer userId);

    public void addBuyDetailList(Integer buyOrderId,List<BuyCartBean> buyCartList);
}
